<?php
/**
 * Created by PhpStorm.
 * User: Duanwangye
 * Date: 18/11/08
 * Company:财联集惠
 */

namespace app\api\controller;
use app\api\logic\User as Logic;

class User extends Base
{
    public function setUserInfo(){
        $function = __FUNCTION__;
        return json($this->logic->$function());
    }

    public function getUserInfo(){
        $function = __FUNCTION__;
        return json($this->logic->$function());
    }

    public function getUserMoney(){
        $function = __FUNCTION__;
        return json($this->logic->$function());
    }

    public $logic;
    public function __initialize(){
        $this->logic = new Logic($this->request);
    }
}